/*************************************************
  * 描述：富文本控件设计师类
  *
  * File：cxirichtextboxdesigner.h
  * Author：dongyao@mozihealthcare.cn
  * Date：2025/10/20
  * Update：
  * ************************************************/

#ifndef CXIRICHTEXTBOXDESIGNER_H
#define CXIRICHTEXTBOXDESIGNER_H
#include <qglobal.h>

#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
#include <QtUiPlugin/QDesignerCustomWidgetInterface>
#else
#include <QDesignerCustomWidgetInterface>
#endif
#include "cxidesignerbase.h"

class CxiRichTextBoxDesigner : public CxiDesignerBase
{
	Q_OBJECT
	Q_INTERFACES(QDesignerCustomWidgetInterface)
public:
	explicit CxiRichTextBoxDesigner(QObject* parent = 0);
	QWidget* createWidget(QWidget* parent) override;

private:
	bool m_initialized = false;
};


#endif//CXIRICHTEXTBOXDESIGNER_H
